package com.corechina.apex_osswords.service;

import com.corechina.apex_osswords.common.Response;
import com.corechina.apex_osswords.domain.entity.SysUser;

public interface ISysUser {

    Response add(SysUser sysUser);

    Response update(SysUser sysUser);

    Response getOne(Integer id);

    Response getUserAllList(String userName, Integer pageIndex, Integer pageSize);

    Response updatePwd(String oldPwd, String newPwd);

    Response resetPwd(Integer id, String newPwd);

    SysUser getByLoginName(String loginName);

    Response del(Integer id);
}
